<template>
    <div>child</div>
</template>

<script setup lang='ts'>
import { ref } from 'vue'
const state = ref({ name: 1 })
defineExpose({
    state
})
</script>
